#include "httplib.h"
#define SERVER_IP "47.108.229.26"
#define SERVER_PORT 9090
int main()
{
    httplib::Client client(SERVER_IP, SERVER_PORT);

    httplib::MultipartFormData item;
    item.name = "file";
    item.filename = "hello.txt";
    item.content = "Hello World"; // 文件内容
    item.content_type = "text/plain";
    httplib::MultipartFormDataItems items;
    items.push_back(item);
    auto res = client.Post("/multipart", items);
    std::cout << res->status << std::endl;
    std::cout << res->body << std::endl;
    return 0;
}